﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace LeEdu.MODEL
{
    /// <summary>
    /// 试卷类
    /// </summary>
    public  class Exam
    {
        /// <summary>
        /// 试卷ID
        /// </summary>
        public int ExamID { get; set; }
        /// <summary>
        /// 试卷名称
        /// </summary>
        public string  ExamName { get; set; }
        /// <summary>
        /// 试卷描述
        /// </summary>
        public string  Description { get; set; }
        /// <summary>
        /// 时间限制
        /// </summary>
        public int LimitedTime { get; set; }
        /// <summary>
        /// 生成方式
        /// </summary>
        public int Mode { get; set; }
        /// <summary>
        /// 单选ID，可多个
        /// </summary>
        public string  SingleChoiceID { get; set; }
        /// <summary>
        /// 单选积分
        /// </summary>
        public Nullable<int> singchoiceScore { get; set; }
        /// <summary>
        /// 多选ID，可多选
        /// </summary>
        public string ChoiceID { get; set; }
        /// <summary>
        /// 多选积分
        /// </summary>
        public Nullable<int> ChoiceScore { get; set; }
        /// <summary>
        /// 填空ID
        /// </summary>
        public string FillingID { get; set; }
        /// <summary>
        /// 填空积分
        /// </summary>
        public Nullable<int> FillingScore { get; set; }
        /// <summary>
        /// 判断ID
        /// </summary>
        public string  JudgeID { get; set; }
        /// <summary>
        /// 判断积分
        /// </summary>
        public Nullable<int> JudgeScore { get; set; }
        /// <summary>
        /// 简答题ID 
        /// </summary>
        public string  SketchID { get; set; }
        /// <summary>
        /// 简答积分
        /// </summary> 
        public Nullable<int> SketchScore { get; set; }
        /// <summary>
        /// 发布状态
        /// </summary>
        public int PubState { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public int UserInfoId { get; set; }
        public virtual UserInfo Users { get; set; }
        /// <summary>
        /// 所属课程
        /// </summary>
        public int CoursesId { get; set; }
        public virtual Courses course { set; get; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PubTime { get; set; }
        /// <summary>
        /// 总分数
        /// </summary>
        public int Score { get; set; }
        /// <summary>
        /// 总题数
        /// </summary>
        public int queber { get; set; }
        /// <summary>
        /// 我的答题表
        /// </summary>
        public Nullable<int> MyExamID { get; set; }
        public virtual MyExam MyExam { get; set; }
        /// <summary>
        /// 批阅状态
        /// </summary>
        public Nullable<int> ReadState { get; set; }
    }
}
